package com.example.commentserver.params;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class TalkParams {
    @ApiModelProperty(value="id", example = "主键")
    private String id;
    @ApiModelProperty(value="发送方id", example = "1", required = true)
    private String postId;
    @ApiModelProperty(value="接受方id", example = "1", required = true)
    private String getId;
    @ApiModelProperty(value="内容", example = "真不错", required = true)
    private String context;
    @ApiModelProperty(value="创建时间", required = true)
    private Date time;
    @ApiModelProperty(value = "阅读状态", example = "1", required = true)
    private int readed;
}
